<%inherit file="/layouts/base.html"/>
<%def name="title()">Edit TestSuite</%def>
<%def name="head()">
</%def>

<h2>Test Cases</h2>
<ul>
% for testcase in c.testcases:
    <li>${h.link_to(testcase.summary, url=h.url_for("edit_testcase", key=testcase.id))}</li>    
% endfor
</ul>

<h2>Edit</h2>
${h.secure_form(url('save_testsuite'))}
% if c.key:
    ${h.hidden(name="key", value=c.key)}
% endif
<fieldset>    
<label>Name:</label>${h.text(name="name", value=c.name)}
</fieldset>
<fieldset>    
<label>Project:</label>${h.text(name="project", value=c.project)}
</fieldset>
${h.submit(value="Save", name="commit")}
${h.end_form()}

